package com.zdgk.core;

import com.zdgk.core.licence.LicenceUtil;
import javafx.application.Application;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@Slf4j
@SpringBootApplication
public class CoreControlApplication {
    private static ConfigurableApplicationContext context;
    public static void main(String[] args) {
        context = SpringApplication.run(CoreControlApplication.class, args);
        log.info(">>>数据流转控制核心启动成功<<<");
        System.out.println("=========机器码==========");
        System.out.println(LicenceUtil.createMachineCode());
    }
}
